﻿
namespace NetROS.Tiers.Windows.Forms
{
	/// <summary>
	/// This is the abstract edit form for the <see cref="Entities.ObracunKamataStavke"/> entity.
	/// </summary>
	/// <remarks>This class is overwritten by .netTiers at each generation.</remarks>
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public abstract class ObracunKamataStavkeEditControlBase : System.Windows.Forms.UserControl
	{
		#region Fields
		
		//private System.Windows.Forms.TableLayoutPanel uxTableLayoutPanel;
		/// <summary>
		/// The ErrorProvider for the Entity;
		/// </summary>
		protected System.Windows.Forms.ErrorProvider uxErrorProvider;
		
		/// <summary>
		/// The BindingSource for the entity.
		///</summary>
		protected System.Windows.Forms.BindingSource uxBindingSource;
						
		
		/// <summary>
		/// TextBox for the ID property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxID;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the ID property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDLabel;
		
		/// <summary>
		/// ComboBox for the IDObracunKamata property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDObracunKamata;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDObracunKamata property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDObracunKamataLabel;
		
		/// <summary>
		/// TextBox for the Faktura property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxFaktura;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Faktura property.
		/// </summary>
		protected System.Windows.Forms.Label uxFakturaLabel;
		
		/// <summary>
		/// ComboBox for the IDKnjizenje property.
		/// </summary>
		protected System.Windows.Forms.ComboBox uxIDKnjizenje;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDKnjizenje property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDKnjizenjeLabel;
		
		/// <summary>
		/// DataTimePicker for the DatumFakture property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxDatumFakture;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DatumFakture property.
		/// </summary>
		protected System.Windows.Forms.Label uxDatumFaktureLabel;
		
		/// <summary>
		/// DataTimePicker for the DatumZadnjeUplate property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxDatumZadnjeUplate;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DatumZadnjeUplate property.
		/// </summary>
		protected System.Windows.Forms.Label uxDatumZadnjeUplateLabel;
		
		/// <summary>
		/// TextBox for the Iznos property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIznos;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Iznos property.
		/// </summary>
		protected System.Windows.Forms.Label uxIznosLabel;
		
		/// <summary>
		/// DataTimePicker for the RazdobljeOd property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxRazdobljeOd;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the RazdobljeOd property.
		/// </summary>
		protected System.Windows.Forms.Label uxRazdobljeOdLabel;
		
		/// <summary>
		/// DataTimePicker for the RazdobljeDo property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxRazdobljeDo;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the RazdobljeDo property.
		/// </summary>
		protected System.Windows.Forms.Label uxRazdobljeDoLabel;
		
		/// <summary>
		/// TextBox for the Dana property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxDana;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Dana property.
		/// </summary>
		protected System.Windows.Forms.Label uxDanaLabel;
		
		/// <summary>
		/// TextBox for the Stopa property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxStopa;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the Stopa property.
		/// </summary>
		protected System.Windows.Forms.Label uxStopaLabel;
		
		/// <summary>
		/// TextBox for the IznosKamate property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIznosKamate;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IznosKamate property.
		/// </summary>
		protected System.Windows.Forms.Label uxIznosKamateLabel;
		
		/// <summary>
		/// DataTimePicker for the StopaOd property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxStopaOd;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the StopaOd property.
		/// </summary>
		protected System.Windows.Forms.Label uxStopaOdLabel;
		
		/// <summary>
		/// DataTimePicker for the StopaDo property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxStopaDo;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the StopaDo property.
		/// </summary>
		protected System.Windows.Forms.Label uxStopaDoLabel;
		
		/// <summary>
		/// TextBox for the IDUserCreated property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIDUserCreated;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDUserCreated property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDUserCreatedLabel;
		
		/// <summary>
		/// TextBox for the IDUserModified property. 
		/// </summary>
		protected System.Windows.Forms.TextBox uxIDUserModified;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the IDUserModified property.
		/// </summary>
		protected System.Windows.Forms.Label uxIDUserModifiedLabel;
		
		/// <summary>
		/// DataTimePicker for the DateCreated property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxDateCreated;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DateCreated property.
		/// </summary>
		protected System.Windows.Forms.Label uxDateCreatedLabel;
		
		/// <summary>
		/// DataTimePicker for the DateModified property.
		/// </summary>
		protected System.Windows.Forms.DateTimePicker uxDateModified;
		
		/// <summary>
		/// The <see cref="System.Windows.Forms.Label"/> associated with the DateModified property.
		/// </summary>
		protected System.Windows.Forms.Label uxDateModifiedLabel;
		#endregion
		
		#region Main entity
		private Entities.ObracunKamataStavke _ObracunKamataStavke;
		/// <summary>
		/// Gets or sets the <see cref="Entities.ObracunKamataStavke"/> entity to edit with this form.
		/// </summary>
		/// <value>The <see cref="Entities.ObracunKamataStavke"/> instance.</value>
		public Entities.ObracunKamataStavke ObracunKamataStavke
		{
			get {return this._ObracunKamataStavke;}
			set
			{
				this._ObracunKamataStavke = value;
				if (value != null) 
				{
					this.uxBindingSource.DataSource = value;
					BindControls();
				}			
				
			}
		}
		#endregion
		
		/// <summary>
		/// Binds the controls.
		/// </summary>
		private void BindControls()
		{
			this.uxID.DataBindings.Clear();
			this.uxID.DataBindings.Add("Text", this.uxBindingSource, "ID", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDObracunKamata.DataBindings.Clear();
			this.uxIDObracunKamata.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDObracunKamata", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxFaktura.DataBindings.Clear();
			this.uxFaktura.DataBindings.Add("Text", this.uxBindingSource, "Faktura", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDKnjizenje.DataBindings.Clear();
			this.uxIDKnjizenje.DataBindings.Add("SelectedValue", this.uxBindingSource, "IDKnjizenje", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDatumFakture.DataBindings.Clear();
			this.uxDatumFakture.DataBindings.Add("Value", this.uxBindingSource, "DatumFakture", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDatumZadnjeUplate.DataBindings.Clear();
			this.uxDatumZadnjeUplate.DataBindings.Add("Value", this.uxBindingSource, "DatumZadnjeUplate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIznos.DataBindings.Clear();
			this.uxIznos.DataBindings.Add("Text", this.uxBindingSource, "Iznos", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxRazdobljeOd.DataBindings.Clear();
			this.uxRazdobljeOd.DataBindings.Add("Value", this.uxBindingSource, "RazdobljeOd", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxRazdobljeDo.DataBindings.Clear();
			this.uxRazdobljeDo.DataBindings.Add("Value", this.uxBindingSource, "RazdobljeDo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDana.DataBindings.Clear();
			this.uxDana.DataBindings.Add("Text", this.uxBindingSource, "Dana", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxStopa.DataBindings.Clear();
			this.uxStopa.DataBindings.Add("Text", this.uxBindingSource, "Stopa", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIznosKamate.DataBindings.Clear();
			this.uxIznosKamate.DataBindings.Add("Text", this.uxBindingSource, "IznosKamate", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxStopaOd.DataBindings.Clear();
			this.uxStopaOd.DataBindings.Add("Value", this.uxBindingSource, "StopaOd", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxStopaDo.DataBindings.Clear();
			this.uxStopaDo.DataBindings.Add("Value", this.uxBindingSource, "StopaDo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDUserCreated.DataBindings.Clear();
			this.uxIDUserCreated.DataBindings.Add("Text", this.uxBindingSource, "IDUserCreated", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxIDUserModified.DataBindings.Clear();
			this.uxIDUserModified.DataBindings.Add("Text", this.uxBindingSource, "IDUserModified", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDateCreated.DataBindings.Clear();
			this.uxDateCreated.DataBindings.Add("Value", this.uxBindingSource, "DateCreated", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
			this.uxDateModified.DataBindings.Clear();
			this.uxDateModified.DataBindings.Add("Value", this.uxBindingSource, "DateModified", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged);
		}					
		
		#region Constructor
		
		/// <summary>
		/// Initializes a new instance of the <see cref="ObracunKamataStavkeEditControlBase"/> class.
		/// </summary>
		public ObracunKamataStavkeEditControlBase()
		{
			InitializeComponent();			
			
			this.uxBindingSource.CurrentItemChanged += new System.EventHandler(uxBindingSource_currentItemChanged);
		}		
		
		/// <summary>
		/// 
		/// </summary>
		private void uxBindingSource_currentItemChanged(object sender, System.EventArgs e)
		{
			if (_ObracunKamataStavke != null) _ObracunKamataStavke.Validate();
		}	
				
		/// <summary>
		/// Initializes the component.
		/// </summary>
		public void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.uxErrorProvider = new System.Windows.Forms.ErrorProvider(this.components);
			this.uxBindingSource = new System.Windows.Forms.BindingSource(this.components);
			
			//this.uxTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
			this.uxID = new System.Windows.Forms.TextBox();
			uxIDLabel = new System.Windows.Forms.Label();
			this.uxIDObracunKamata = new System.Windows.Forms.ComboBox();
			uxIDObracunKamataLabel = new System.Windows.Forms.Label();
			this.uxFaktura = new System.Windows.Forms.TextBox();
			uxFakturaLabel = new System.Windows.Forms.Label();
			this.uxIDKnjizenje = new System.Windows.Forms.ComboBox();
			uxIDKnjizenjeLabel = new System.Windows.Forms.Label();
			this.uxDatumFakture = new System.Windows.Forms.DateTimePicker();
			uxDatumFaktureLabel = new System.Windows.Forms.Label();
			this.uxDatumZadnjeUplate = new System.Windows.Forms.DateTimePicker();
			uxDatumZadnjeUplateLabel = new System.Windows.Forms.Label();
			this.uxIznos = new System.Windows.Forms.TextBox();
			uxIznosLabel = new System.Windows.Forms.Label();
			this.uxRazdobljeOd = new System.Windows.Forms.DateTimePicker();
			uxRazdobljeOdLabel = new System.Windows.Forms.Label();
			this.uxRazdobljeDo = new System.Windows.Forms.DateTimePicker();
			uxRazdobljeDoLabel = new System.Windows.Forms.Label();
			this.uxDana = new System.Windows.Forms.TextBox();
			uxDanaLabel = new System.Windows.Forms.Label();
			this.uxStopa = new System.Windows.Forms.TextBox();
			uxStopaLabel = new System.Windows.Forms.Label();
			this.uxIznosKamate = new System.Windows.Forms.TextBox();
			uxIznosKamateLabel = new System.Windows.Forms.Label();
			this.uxStopaOd = new System.Windows.Forms.DateTimePicker();
			uxStopaOdLabel = new System.Windows.Forms.Label();
			this.uxStopaDo = new System.Windows.Forms.DateTimePicker();
			uxStopaDoLabel = new System.Windows.Forms.Label();
			this.uxIDUserCreated = new System.Windows.Forms.TextBox();
			uxIDUserCreatedLabel = new System.Windows.Forms.Label();
			this.uxIDUserModified = new System.Windows.Forms.TextBox();
			uxIDUserModifiedLabel = new System.Windows.Forms.Label();
			this.uxDateCreated = new System.Windows.Forms.DateTimePicker();
			uxDateCreatedLabel = new System.Windows.Forms.Label();
			this.uxDateModified = new System.Windows.Forms.DateTimePicker();
			uxDateModifiedLabel = new System.Windows.Forms.Label();
			
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).BeginInit();
			this.SuspendLayout();
			
			// 
			// uxTableLayoutPanel
			// 
			//this.uxTableLayoutPanel.AutoSize = true;
			//this.uxTableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			//this.uxTableLayoutPanel.ColumnCount = 2;
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
			//this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
			//this.uxTableLayoutPanel.Location = new System.Drawing.System.Drawing.Point(3, 3);
			//this.uxTableLayoutPanel.Name = "uxTableLayoutPanel";
			//this.uxTableLayoutPanel.RowCount = 2;
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
			//this.uxTableLayoutPanel.Size = new System.Drawing.Size(450, 50);
			//this.uxTableLayoutPanel.TabIndex = 0;
			
			//
			// uxErrorProvider
			//
			this.uxErrorProvider.ContainerControl = this;
			this.uxErrorProvider.DataSource = this.uxBindingSource;
			
			//
			// uxIDLabel
			//
			this.uxIDLabel.Text = "ID:";
			this.uxIDLabel.Location = new System.Drawing.Point(3, 0);
			this.Controls.Add(this.uxIDLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDLabel);			
			//
			// uxID
			//
			this.uxID.ReadOnly = true;
			//this.uxTableLayoutPanel.Controls.Add(this.uxID);
			this.uxID.Location = new System.Drawing.Point(160, 0);
			this.Controls.Add(this.uxID);
			//
			// uxIDObracunKamataLabel
			//
			this.uxIDObracunKamataLabel.Text = "IDObracunKamata:";
			this.uxIDObracunKamataLabel.Location = new System.Drawing.Point(3, 26);
			this.Controls.Add(this.uxIDObracunKamataLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDObracunKamataLabel);			
			//
			// uxIDObracunKamata
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDObracunKamata);
			this.uxIDObracunKamata.Location = new System.Drawing.Point(160, 26);
			this.Controls.Add(this.uxIDObracunKamata);
			//
			// uxFakturaLabel
			//
			this.uxFakturaLabel.Text = "Faktura:";
			this.uxFakturaLabel.Location = new System.Drawing.Point(3, 52);
			this.Controls.Add(this.uxFakturaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxFakturaLabel);			
			//
			// uxFaktura
			//
			this.uxFaktura.Width = 250;
			this.uxFaktura.MaxLength = 50;
			//this.uxTableLayoutPanel.Controls.Add(this.uxFaktura);
			this.uxFaktura.Location = new System.Drawing.Point(160, 52);
			this.Controls.Add(this.uxFaktura);
			//
			// uxIDKnjizenjeLabel
			//
			this.uxIDKnjizenjeLabel.Text = "IDKnjizenje:";
			this.uxIDKnjizenjeLabel.Location = new System.Drawing.Point(3, 78);
			this.Controls.Add(this.uxIDKnjizenjeLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDKnjizenjeLabel);			
			//
			// uxIDKnjizenje
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDKnjizenje);
			this.uxIDKnjizenje.Location = new System.Drawing.Point(160, 78);
			this.Controls.Add(this.uxIDKnjizenje);
			//
			// uxDatumFaktureLabel
			//
			this.uxDatumFaktureLabel.Text = "DatumFakture:";
			this.uxDatumFaktureLabel.Location = new System.Drawing.Point(3, 104);
			this.Controls.Add(this.uxDatumFaktureLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumFaktureLabel);			
			//
			// uxDatumFakture
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumFakture);
			this.uxDatumFakture.Location = new System.Drawing.Point(160, 104);
			this.Controls.Add(this.uxDatumFakture);
			//
			// uxDatumZadnjeUplateLabel
			//
			this.uxDatumZadnjeUplateLabel.Text = "DatumZadnjeUplate:";
			this.uxDatumZadnjeUplateLabel.Location = new System.Drawing.Point(3, 130);
			this.Controls.Add(this.uxDatumZadnjeUplateLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumZadnjeUplateLabel);			
			//
			// uxDatumZadnjeUplate
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDatumZadnjeUplate);
			this.uxDatumZadnjeUplate.Location = new System.Drawing.Point(160, 130);
			this.Controls.Add(this.uxDatumZadnjeUplate);
			//
			// uxIznosLabel
			//
			this.uxIznosLabel.Text = "Iznos:";
			this.uxIznosLabel.Location = new System.Drawing.Point(3, 156);
			this.Controls.Add(this.uxIznosLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIznosLabel);			
			//
			// uxIznos
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIznos);
			this.uxIznos.Location = new System.Drawing.Point(160, 156);
			this.Controls.Add(this.uxIznos);
			//
			// uxRazdobljeOdLabel
			//
			this.uxRazdobljeOdLabel.Text = "RazdobljeOd:";
			this.uxRazdobljeOdLabel.Location = new System.Drawing.Point(3, 182);
			this.Controls.Add(this.uxRazdobljeOdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxRazdobljeOdLabel);			
			//
			// uxRazdobljeOd
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxRazdobljeOd);
			this.uxRazdobljeOd.Location = new System.Drawing.Point(160, 182);
			this.Controls.Add(this.uxRazdobljeOd);
			//
			// uxRazdobljeDoLabel
			//
			this.uxRazdobljeDoLabel.Text = "RazdobljeDo:";
			this.uxRazdobljeDoLabel.Location = new System.Drawing.Point(3, 208);
			this.Controls.Add(this.uxRazdobljeDoLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxRazdobljeDoLabel);			
			//
			// uxRazdobljeDo
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxRazdobljeDo);
			this.uxRazdobljeDo.Location = new System.Drawing.Point(160, 208);
			this.Controls.Add(this.uxRazdobljeDo);
			//
			// uxDanaLabel
			//
			this.uxDanaLabel.Text = "Dana:";
			this.uxDanaLabel.Location = new System.Drawing.Point(3, 234);
			this.Controls.Add(this.uxDanaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDanaLabel);			
			//
			// uxDana
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDana);
			this.uxDana.Location = new System.Drawing.Point(160, 234);
			this.Controls.Add(this.uxDana);
			//
			// uxStopaLabel
			//
			this.uxStopaLabel.Text = "Stopa:";
			this.uxStopaLabel.Location = new System.Drawing.Point(3, 260);
			this.Controls.Add(this.uxStopaLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxStopaLabel);			
			//
			// uxStopa
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxStopa);
			this.uxStopa.Location = new System.Drawing.Point(160, 260);
			this.Controls.Add(this.uxStopa);
			//
			// uxIznosKamateLabel
			//
			this.uxIznosKamateLabel.Text = "IznosKamate:";
			this.uxIznosKamateLabel.Location = new System.Drawing.Point(3, 286);
			this.Controls.Add(this.uxIznosKamateLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIznosKamateLabel);			
			//
			// uxIznosKamate
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIznosKamate);
			this.uxIznosKamate.Location = new System.Drawing.Point(160, 286);
			this.Controls.Add(this.uxIznosKamate);
			//
			// uxStopaOdLabel
			//
			this.uxStopaOdLabel.Text = "StopaOd:";
			this.uxStopaOdLabel.Location = new System.Drawing.Point(3, 312);
			this.Controls.Add(this.uxStopaOdLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxStopaOdLabel);			
			//
			// uxStopaOd
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxStopaOd);
			this.uxStopaOd.Location = new System.Drawing.Point(160, 312);
			this.Controls.Add(this.uxStopaOd);
			//
			// uxStopaDoLabel
			//
			this.uxStopaDoLabel.Text = "StopaDo:";
			this.uxStopaDoLabel.Location = new System.Drawing.Point(3, 338);
			this.Controls.Add(this.uxStopaDoLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxStopaDoLabel);			
			//
			// uxStopaDo
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxStopaDo);
			this.uxStopaDo.Location = new System.Drawing.Point(160, 338);
			this.Controls.Add(this.uxStopaDo);
			//
			// uxIDUserCreatedLabel
			//
			this.uxIDUserCreatedLabel.Text = "IDUserCreated:";
			this.uxIDUserCreatedLabel.Location = new System.Drawing.Point(3, 364);
			this.Controls.Add(this.uxIDUserCreatedLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserCreatedLabel);			
			//
			// uxIDUserCreated
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserCreated);
			this.uxIDUserCreated.Location = new System.Drawing.Point(160, 364);
			this.Controls.Add(this.uxIDUserCreated);
			//
			// uxIDUserModifiedLabel
			//
			this.uxIDUserModifiedLabel.Text = "IDUserModified:";
			this.uxIDUserModifiedLabel.Location = new System.Drawing.Point(3, 390);
			this.Controls.Add(this.uxIDUserModifiedLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserModifiedLabel);			
			//
			// uxIDUserModified
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxIDUserModified);
			this.uxIDUserModified.Location = new System.Drawing.Point(160, 390);
			this.Controls.Add(this.uxIDUserModified);
			//
			// uxDateCreatedLabel
			//
			this.uxDateCreatedLabel.Text = "DateCreated:";
			this.uxDateCreatedLabel.Location = new System.Drawing.Point(3, 416);
			this.Controls.Add(this.uxDateCreatedLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDateCreatedLabel);			
			//
			// uxDateCreated
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDateCreated);
			this.uxDateCreated.Location = new System.Drawing.Point(160, 416);
			this.Controls.Add(this.uxDateCreated);
			//
			// uxDateModifiedLabel
			//
			this.uxDateModifiedLabel.Text = "DateModified:";
			this.uxDateModifiedLabel.Location = new System.Drawing.Point(3, 442);
			this.Controls.Add(this.uxDateModifiedLabel);
			//this.uxTableLayoutPanel.Controls.Add(this.uxDateModifiedLabel);			
			//
			// uxDateModified
			//
			//this.uxTableLayoutPanel.Controls.Add(this.uxDateModified);
			this.uxDateModified.Location = new System.Drawing.Point(160, 442);
			this.Controls.Add(this.uxDateModified);
			//
			// uxIDObracunKamata
			//				
			this.uxIDObracunKamata.DisplayMember = "IDKlijent";	
			this.uxIDObracunKamata.ValueMember = "ID";	
			//
			// uxIDKnjizenje
			//				
			this.uxIDKnjizenje.DisplayMember = "IDKonto";	
			this.uxIDKnjizenje.ValueMember = "ID";	
			// 
			// ObracunKamataStavkeEditControlBase
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			//this.Controls.Add(this.uxTableLayoutPanel);
			this.AutoScroll = true;
			this.Name = "ObracunKamataStavkeEditControlBase";
			this.Size = new System.Drawing.Size(478, 311);
			//this.Localizable = true;
			((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).EndInit();			
			this.ResumeLayout(false);
			this.PerformLayout();
		}
		#endregion
				
		#region ComboBox List
		
				
		private Entities.TList<Entities.ObracunKamata> _IDObracunKamataList;
		
		/// <summary>
		/// The ComboBox associated with the IDObracunKamata property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.ObracunKamata> IDObracunKamataList
		{
			get {return _IDObracunKamataList;}
			set 
			{
				this._IDObracunKamataList = value;
				this.uxIDObracunKamata.DataSource = null;
				this.uxIDObracunKamata.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDObracunKamataList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDObracunKamata property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDObracunKamataList
		{
			get { return _allowNewItemInIDObracunKamataList;}
			set
			{
				this._allowNewItemInIDObracunKamataList = value;
				this.uxIDObracunKamata.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
				
		private Entities.TList<Entities.KnjizenjeStavka> _IDKnjizenjeList;
		
		/// <summary>
		/// The ComboBox associated with the IDKnjizenje property.
		/// </summary>
		[System.ComponentModel.Category("ComboBox BindingSources")]
		public Entities.TList<Entities.KnjizenjeStavka> IDKnjizenjeList
		{
			get {return _IDKnjizenjeList;}
			set 
			{
				this._IDKnjizenjeList = value;
				this.uxIDKnjizenje.DataSource = null;
				this.uxIDKnjizenje.DataSource = value;
			}
		}
		
		private bool _allowNewItemInIDKnjizenjeList;
		
		/// <summary>
		/// Indicates if the ComboBox associated with the IDKnjizenje property allow user to add item.
		/// </summary>
		[System.ComponentModel.Category(".netTiers"), System.ComponentModel.Description("Indicates if end user can add a new item in the combobox. an event will be thrown then.")]
		public bool AllowNewItemInIDKnjizenjeList
		{
			get { return _allowNewItemInIDKnjizenjeList;}
			set
			{
				this._allowNewItemInIDKnjizenjeList = value;
				this.uxIDKnjizenje.DropDownStyle = value ? System.Windows.Forms.ComboBoxStyle.DropDown : System.Windows.Forms.ComboBoxStyle.DropDownList;
			}
		}
		
		
		#endregion
		
		/// <summary> 
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary> 
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
	}
}
